package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServePerson implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer pid;
    private String jobnumber;//工号
    private String password;//密码
    private String pname;//服务人员姓名
    private String gender;//性别
    private Integer age;//年龄
    private Long phone;//联系电话
    private Long idnumber;//身份证号码
    private String bank;//开户银行
    private Long banknumber;//银行卡号码
    private String servetype;//服务类型
    private String area;//负责区域
    private String state;//服务人员状态
    @TableLogic
    private Integer del;//逻辑删除
    private Integer aid;//审核id
    @TableField(exist = false)
    private ServeAudit serveAudit;
    private Integer daid;//账户id
    private Integer wid;//工单id
}
